package com.xuhuan.practice.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xuhuan.practice.entity.common.BaseEntity;
import lombok.Data;

/**
 * @author: huan.xu
 * @create: 2024/6/10 12:54
 * @description: 文章表
 **/
@Data
@TableName("article")
public class Article extends BaseEntity {

  @TableField("title")
  private String title;

  @TableField("content")
  private String content;

  @TableField("cover_img")
  private String coverImg;

  @TableField("state")
  private String state;

  @TableField("category_id")
  private Integer categoryId;

  @TableField("create_user")
  private Integer createUser;

}
